﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class mdc_Bom_NPL_Fini_2 : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } }
        private string _ID;
        public static FieldInfo id = new FieldInfo("mdc_Bom_NPL_Fini_2", "ID");

        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } }
        private string _Process;
        public static FieldInfo process = new FieldInfo("mdc_Bom_NPL_Fini_2", "Process");

        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } }
        private int _Incident;
        public static FieldInfo incident = new FieldInfo("mdc_Bom_NPL_Fini_2", "Incident");

        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } }
        private string _UserName;
        public static FieldInfo userName = new FieldInfo("mdc_Bom_NPL_Fini_2", "UserName");

        [Column]
        public int No { get { return _No; } set { _No = value; EntityState.FieldChange("No"); } }
        private int _No;
        public static FieldInfo no = new FieldInfo("mdc_Bom_NPL_Fini_2", "No");

        [Column]
        public string Effe_Date { get { return _Effe_Date; } set { _Effe_Date = value; EntityState.FieldChange("Effe_Date"); } }
        private string _Effe_Date;
        public static FieldInfo effe_date = new FieldInfo("mdc_Bom_NPL_Fini_2", "Effe_Date");

        [Column]
        public string SKU_Code { get { return _SKU_Code; } set { _SKU_Code = value; EntityState.FieldChange("SKU_Code"); } }
        private string _SKU_Code;
        public static FieldInfo sku_code = new FieldInfo("mdc_Bom_NPL_Fini_2", "SKU_Code");

        [Column]
        public string Pack_Size { get { return _Pack_Size; } set { _Pack_Size = value; EntityState.FieldChange("Pack_Size"); } }
        private string _Pack_Size;
        public static FieldInfo pack_size = new FieldInfo("mdc_Bom_NPL_Fini_2", "Pack_Size");

        [Column]
        public string Plant { get { return _Plant; } set { _Plant = value; EntityState.FieldChange("Plant"); } }
        private string _Plant;
        public static FieldInfo plant = new FieldInfo("mdc_Bom_NPL_Fini_2", "Plant");

        [Column]
        public string Packager { get { return _Packager; } set { _Packager = value; EntityState.FieldChange("Packager"); } }
        private string _Packager;
        public static FieldInfo packager = new FieldInfo("mdc_Bom_NPL_Fini_2", "Packager");

        [Column]
        public string Packager_Q { get { return _Packager_Q; } set { _Packager_Q = value; EntityState.FieldChange("Packager_Q"); } }
        private string _Packager_Q;
        public static FieldInfo packager_Q = new FieldInfo("mdc_Bom_NPL_Fini_2", "Packager_Q");

        [Column]
        public string Carton { get { return _Carton; } set { _Carton = value; EntityState.FieldChange("Carton"); } }
        private string _Carton;
        public static FieldInfo carton = new FieldInfo("mdc_Bom_NPL_Fini_2", "Carton");

        [Column]
        public string Carton_Q { get { return _Carton_Q; } set { _Carton_Q = value; EntityState.FieldChange("Carton_Q"); } }
        private string _Carton_Q;
        public static FieldInfo carton_Q = new FieldInfo("mdc_Bom_NPL_Fini_2", "Carton_Q");

        [Column]
        public string Tagboard { get { return _Tagboard; } set { _Tagboard = value; EntityState.FieldChange("Tagboard "); } }
        private string _Tagboard;
        public static FieldInfo tagboard = new FieldInfo("mdc_Bom_NPL_Fini_2", "Tagboard ");

        [Column]
        public string Tagboard_Q { get { return _Tagboard_Q; } set { _Tagboard_Q = value; EntityState.FieldChange("Tagboard_Q"); } }
        private string _Tagboard_Q;
        public static FieldInfo tagboard_Q = new FieldInfo("mdc_Bom_NPL_Fini_2", "Tagboard_Q");

        [Column]
        public string Cardfile { get { return _Cardfile; } set { _Cardfile = value; EntityState.FieldChange("Cardfile"); } }
        private string _Cardfile;
        public static FieldInfo cardfile = new FieldInfo("mdc_Bom_NPL_Fini_2", "Cardfile");

        [Column]
        public string Cardfile_Q { get { return _Cardfile_Q; } set { _Cardfile_Q = value; EntityState.FieldChange("Cardfile_Q"); } }
        private string _Cardfile_Q;
        public static FieldInfo cardfile_Q = new FieldInfo("mdc_Bom_NPL_Fini_2", "Cardfile_Q");

        [Column]
        [NowDate]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } }
        private DateTime _Time;
        public static FieldInfo time = new FieldInfo("mdc_Bom_NPL_Fini_2", "Time");

        [Column]
        [DefaultInt(0)]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } }
        private int _Status;
        public static FieldInfo status = new FieldInfo("mdc_Bom_NPL_Fini_2", "Status");
    }
}
